﻿using Demo.ProductManager.Products.Dto;

namespace Demo.ProductManager.Products;

public static class ProductAutoMapperProfile
{
    public static void CreatProductMapper(this ProductManagerApplicationAutoMapperProfile profile)
    {
        profile.CreateMap<Product, ProductDto>();
        profile.CreateMap<ProductDto, Product>();
    }
}